package com.zueb.pojo;

public class OutApply {
    private int id;
    private String state;
    private int userId;
    private String date;
    private String type;
    private User user;
    private UserInfo userInfo;


    public OutApply() {
    }

    public OutApply(int id, String state, int userId, String date, String type, User user, UserInfo userInfo) {
        this.id = id;
        this.state = state;
        this.userId = userId;
        this.date = date;
        this.type = type;
        this.user = user;
        this.userInfo = userInfo;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "OutApply{" +
                "id=" + id +
                ", state='" + state + '\'' +
                ", userId=" + userId +
                ", date='" + date + '\'' +
                ", type='" + type + '\'' +
                ", user=" + user +
                ", userInfo=" + userInfo +
                '}';
    }
}
